from django.contrib import admin
from django.urls import path
from .views import LoginView, index, BookView, RecordView, Logout

urlpatterns = [
    # 配置访问的路径
    path("login/", LoginView.as_view()),    # book/login
    path("index/", index),
    path("logout/", Logout.as_view()),
    path("bookview/", BookView.as_view()),
    path("recordview/", RecordView.as_view())
]

